package com.example.educationalsystem.entity.Vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.example.educationalsystem.common.util.LocalDateConverter;
import com.example.educationalsystem.entity.SelectCourse;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @ClassName : SelectCourseVo  //类名
 * @Description : 选课返回信息实体类  //描述
 * @Author : zpc20 //作者
 * @Date: 2022/12/21  12:31
 */
@Data
public class SelectCourseVo extends SelectCourse {
      @ExcelProperty(value = "学生姓名")
      private String studentName;
      @ExcelProperty(value = "学生性别")
      private String studentSex;
      @ExcelProperty(value = "课程名称")
      private String courseName;
      @ExcelProperty(value = "课程类型")
      private String courseType;
      @ExcelProperty(value = "课程学分")
      private BigDecimal courseCredit;
      @ExcelProperty(value = "教室编号")
      private String classroomId;
      @ExcelProperty(value = "课程描述")
      private String courseDesc;
      @ExcelProperty(value = "上课时间段")
      private String courseTimes;

      @ExcelProperty(value = "课程开课时间",converter = LocalDateConverter.class)
      private LocalDate courseBeginTime;

      @ExcelProperty(value = "课程结束时间",converter = LocalDateConverter.class)
      private LocalDate courseEndTime;
      @ExcelProperty(value = "课程限制人数")
      private String courseLimitCount;
      @ExcelProperty(value = "上课实际人数")
      private String courseActualCount;
      @ExcelProperty(value = "教师工号")
      private String  teacherId;
      @ExcelProperty(value = "教师姓名")
      private String teacherName;
      @ExcelProperty(value = "教师性别")
      private String teacherSex;
      @ExcelProperty(value = "教师电话")
      private String teacherPhone;

}
